package day5;

import org.openjdk.jol.info.ClassLayout;

import java.util.Scanner;

public class Test1 {
    public static void main(String[] args) {
        GirlFriend ruhua = new GirlFriend();
        ruhua.nickname = "如花如花如花如花如花如花如花如花如花如花如花如花如花如花如花如花"; // 12 + count * 2
        ruhua.height = 1.43;
        ruhua.eat();
        GirlFriend reba = new GirlFriend();
        reba.nickname = "热巴";
        reba.height = 1.73;
        reba.eat();
        // 九江学院，景德镇学院，南大科，南理
        System.out.println(ruhua.hashCode());
        System.out.println(reba.hashCode());

        System.out.println(ClassLayout.parseInstance(ruhua).
                toPrintable());

    }
}
